package top.xzhanyao.yowshare.dashboard.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import top.xzhanyao.yowshare.dashboard.entity.Authority;
import top.xzhanyao.yowshare.dashboard.mapper.AuthorityMapper;
import top.xzhanyao.yowshare.dashboard.service.AuthorityService;

import java.util.List;

/**
 * <p>
 * 权限 服务实现类
 * </p>
 *
 * @author zhanyao
 * @since 2018-07-13
 */
@Service
public class AuthorityServiceImpl extends ServiceImpl<AuthorityMapper, Authority> implements AuthorityService {

    @Override
    public List<Authority> selectByUsername(String username) {
        return baseMapper.selectByUsername(username);
    }
}
